# Base image
FROM centos:7

# Maintainer
LABEL maintainer lsy<3397316724@qq.com>


# Install tools 
RUN  yum -y install wget telnet lrzsz && yum clean all

ENV JAVA_VERSION=1.8.0_381

COPY jre${JAVA_VERSION} /usr/local/jre${JAVA_VERSION}

ENV JAVA_HOME=/usr/local/jre${JAVA_VERSION}
ENV PATH=${JAVA_HOME}/bin:$PATH

CMD ["/bin/bash"]
